package com.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "good")
public class Good {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "description")
    private String description;

    @TableField(value = "price")
    private Double price;

    @TableField(value = "address")
    private String address;

    @TableField(value = "status")
    private String status;

    @TableField(value = "mode1")
    private Boolean mode1;

    @TableField(value = "mode2")
    private Boolean mode2;

    @TableField(value = "mode3")
    private Boolean mode3;

    @TableField(value = "sold_out")
    private Boolean soldOut;

    public static final String COL_ID = "id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_DESCRIPTION = "description";

    public static final String COL_PRICE = "price";

    public static final String COL_ADDRESS = "address";

    public static final String COL_STATUS = "status";

    public static final String COL_MODE1 = "mode1";

    public static final String COL_MODE2 = "mode2";

    public static final String COL_MODE3 = "mode3";

    public static final String COL_SOLD_OUT = "sold_out";

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return price
     */
    public Double getPrice() {
        return price;
    }

    /**
     * @param price
     */
    public void setPrice(Double price) {
        this.price = price;
    }

    /**
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * @return mode1
     */
    public Boolean getMode1() {
        return mode1;
    }

    /**
     * @param mode1
     */
    public void setMode1(Boolean mode1) {
        this.mode1 = mode1;
    }

    /**
     * @return mode2
     */
    public Boolean getMode2() {
        return mode2;
    }

    /**
     * @param mode2
     */
    public void setMode2(Boolean mode2) {
        this.mode2 = mode2;
    }

    /**
     * @return mode3
     */
    public Boolean getMode3() {
        return mode3;
    }

    /**
     * @param mode3
     */
    public void setMode3(Boolean mode3) {
        this.mode3 = mode3;
    }

    /**
     * @return sold_out
     */
    public Boolean getSoldOut() {
        return soldOut;
    }

    /**
     * @param soldOut
     */
    public void setSoldOut(Boolean soldOut) {
        this.soldOut = soldOut;
    }
}